*
{
    box-sizing: border-box;
    font-family: sans-serif;
}

:root
{
    --border-radius: 5px;
    --border-width: 1px;
    --light-grey: #e2e0e0;
    --blue: #7f6cfc;
    --orange: #ffc877;
    --red: #c14444;   
}

#calculator
{
    width: 45%;
    height: 80%;
    min-width: 300px;
    min-height: 350px;
    background-color: var(--light-grey);
    margin: auto;
    margin-top: 50px;
    border: 2px solid var(--light-grey);
    border-radius: 10px;
    padding: 10px;
}

#calculator h1
{
    background-color: black;
    color: wheat;
    text-transform: uppercase;
    text-align: center;
    padding: 20px;
    border-radius: 20px;
}

#display-container
{
    font-size: 2.5rem;
    display: flex;
    color: var(--blue);
    width: 100%;
    height: 20%;
    min-height: 100px;
    border-radius: var(--border-radius);
    background-color: whitesmoke;
    margin-bottom: 10px;
    flex-direction: column;
    align-items: flex-end;
}

#display-container p
{
    margin: 1rem;
}

#buttons-container
{
    width: 100%;
    height: 60%;
    min-height: 300px;
    border: var(--border-radius) solid var(--light-grey);
    border-radius: var(--border-radius);
    background-color: var(--light-grey);
    display: flex;
    flex-flow: row wrap;
    justify-content: space-around;
}

.button
{
    width: 25%;
    height: 20%;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: var(--border-width) solid var(--light-grey);
    border-radius: 8px;
    background-color: yellowgreen;
    font-size: 2rem;
    cursor: pointer;
    transition: 0.5s;
}

.button:hover
{
    background-color: var(--orange);
}

.red
{
    background-color: var(--red);
    color: white;
}

#button-zero
{
    width: 50%;
}